<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
/**
 * @var Mage_Page_Block_Html_Header $this
 */
?>
<div class="header-container">
    <div class="header">
        <?php if ($this->getIsHomePage()):?>
        <h1 class="logo"><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img width="99" height="30" src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
        <?php else:?>
        <h1 class="logo"><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img width="99" height="30" src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
        <?php endif?>
        <div class="quick-access">
            <?php echo $this->getChildHtml('topSearch') ?>
            <ul class="links">
                <li class="first"><a title="Bản tin" href="<?php echo $this->getUrl() ?>">
                    <img alt="" class="ui-icon icon-01" src="<?php echo $this->getSkinUrl("images/dummy.gif")?>" > Bản tin</a>
                </li>
                <li>
                    <a title="Lịch giảm giá" href="<?php echo $this->getUrl() ?>">
                        <img alt="" class="ui-icon icon-02" src="<?php echo $this->__("images/dummy.gif") ?>"> <?php echo $this->__("Lịch giảm giá") ?>
                    </a>
                        
                </li>                        
                <li class="bor">
                    <a class="top-link-checkout" title="Checkout" href="<?php echo $this->getUrl() ?>">
                    <img alt="" class="ui-icon icon-03" src="<?php echo $this->getSkinUrl("images/dummy.gif") ?>" > <?php echo $this->__("Mời thêm bạn") ?></a>
                </li>  
                
                <?php if ($this->helper('customer')->isLoggedIn()): ?>
                        <li><a href="<?php echo $this->getUrl('customer/account/logout') ?>"><?php echo $this->__('Sign Out') ?> </a></li>
                <?php else: ?>
                        <li class="last">
                            <a href="<?php echo $this->getUrl('customer/account/login') ?>"><?php echo $this->__('Resgister Now') ?></a>
                        </li>                      
                        <li class="last">
                            <a href="<?php echo $this->getUrl('customer/account/login') ?>"><?php echo $this->__('Sign in') ?> </a>
                        </li>       
                <?php endif; ?>        
                                
                <li class="last" >
                    <a class="top-link-cart" href="<?php echo $this->getUrl('checkout/cart') ?>">
                        <p class="quantity"><?php echo Mage::helper('checkout/cart')->getItemsCount(); ?> </p>
                        <img alt="" class="ui-icon icon-04" src="<?php echo $this->getSkinUrl("images/dummy.gif") ?>">
                        
                    </a>
                </li>
          
            </ul>
            <!--<p class="welcome-msg"><?php //echo $this->getWelcome() ?> <?php //echo $this->getAdditionalHtml() ?></p>-->
            <?php //echo $this->getChildHtml('topLinks') ?>
            <?php //echo $this->getChildHtml('store_language') ?>
        </div>
        <?php echo $this->getChildHtml('topContainer'); ?>
    </div>
</div>
<?php echo $this->getChildHtml('topMenu') ?>
<?php echo $this->getChildHtml('breadcrumbs') ?>
